package com.wtzz.police.base.bean.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 操作日志
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OperationLogFilterDto extends PageDto {
    @ApiModelProperty("请求IP")
    private String ip;

    @ApiModelProperty("请求用户ID")
    private String userId;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间开始, 格式yyyy-MM-dd HH:mm:ss")
    private Date start;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty("创建时间结束, 格式yyyy-MM-dd HH:mm:ss")
    private Date end;

}
